home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 114 / CDRom114.iso / internet / temafire / Red Cats (green flavor).jar / browser / browser.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2004-11-06  |  30.9 KB  |  1,200 lines

  1. /* ***** BEGIN LICENSE BLOCK *****
  2.  * Version: NPL 1.1/GPL 2.0/LGPL 2.1
  3.  *
  4.  * The contents of this file are subject to the Netscape Public License
  5.  * Version 1.1 (the "License"); you may not use this file except in
  6.  * compliance with the License. You may obtain a copy of the License at
  7.  * http://www.mozilla.org/NPL/
  8.  *
  9.  * Software distributed under the License is distributed on an "AS IS" basis,
  10.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  11.  * for the specific language governing rights and limitations under the
  12.  * License.
  13.  *
  14.  * The Original Code is mozilla.org code.
  15.  *
  16.  * The Initial Developer of the Original Code is
  17.  * Netscape Communications Corporation.
  18.  * Portions created by the Initial Developer are Copyright (C) 1998-1999
  19.  * the Initial Developer. All Rights Reserved.
  20.  *
  21.  * Contributor(s):
  22.  *   Joe Hewitt (hewitt@netscape.com)
  23.  *   Jason Kersey (kerz@netscape.com)
  24.  *   Pierre Chanial (chanial@noos.fr)
  25.  *   Dean Tessman (dean_tessman@hotmail.com)
  26.  *   Blake Ross (blake@cs.stanford.edu)
  27.  *
  28.  * Alternatively, the contents of this file may be used under the terms of
  29.  * either the GNU General Public License Version 2 or later (the "GPL"), or
  30.  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  31.  * in which case the provisions of the GPL or the LGPL are applicable instead
  32.  * of those above. If you wish to allow use of your version of this file only
  33.  * under the terms of either the GPL or the LGPL, and not to allow others to
  34.  * use your version of this file under the terms of the NPL, indicate your
  35.  * decision by deleting the provisions above and replace them with the notice
  36.  * and other provisions required by the GPL or the LGPL. If you do not delete
  37.  * the provisions above, a recipient may use your version of this file under
  38.  * the terms of any one of the NPL, the GPL or the LGPL.
  39.  *
  40.  * ***** END LICENSE BLOCK ***** */
  41.  
  42. @import url("chrome://global/skin/");
  43.  
  44. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  45.  
  46. #PersonalToolbar {
  47.   min-height: 26px;
  48. }
  49.  
  50. /* ::::: bookmark buttons ::::: */
  51.  
  52. toolbarbutton.bookmark-item {
  53.   margin: 0;
  54.   min-width: 0;
  55.   max-width: 13em;
  56.   padding: 1px;    
  57. }
  58.  
  59. toolbarbutton.bookmark-item:hover:active,
  60. toolbarbutton.bookmark-item[open="true"] {
  61.   padding: 1px;
  62. }
  63.  
  64. .bookmark-item > .toolbarbutton-icon {
  65.   width: 16px;
  66.   height: 16px;    
  67.     margin: 0 3px 0 2px !important;
  68. }
  69.  
  70. /* Prevent [mode="icons"] from hiding the label */
  71. .bookmark-item > .toolbarbutton-text {
  72.   display: -moz-box !important;
  73. }
  74.  
  75. .bookmark-item > .toolbarbutton-menu-dropmarker {
  76.   display: none;
  77. }
  78.  
  79. #wrapper-personal-bookmarks .toolbarpaletteitem-box[place="palette"] {
  80.   list-style-image: url("chrome://browser/skin/icons/folder_closed.png") no-repeat !important;
  81.   width: 16px;
  82.   height: 16px;
  83. }
  84.         
  85. .bookmarks-toolbar-customize {
  86.   display: none;
  87.   max-width: 15em !important;
  88. }
  89.  
  90. toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-customize {
  91.   display: -moz-box;
  92. }
  93.  
  94. toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-overflow-items {
  95.   visibility: hidden;
  96. }
  97.  
  98. toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-items {
  99.   visibility: hidden;
  100. }
  101.  
  102. /* ::::: bookmark menus ::::: */
  103.  
  104. menu.bookmark-item,
  105. menuitem.bookmark-item {
  106.   min-width: 0;
  107.   max-width: 26em;
  108.   border-top: 1px solid transparent !important;
  109.   border-bottom: 1px solid transparent !important;
  110.   padding: 1px 2px;
  111.   margin: -1px 0 0 0;
  112. }
  113.  
  114. .bookmark-item > .menu-iconic-left > .menu-iconic-icon {
  115.   width: 16px;
  116.   height: 16px;
  117. }
  118.  
  119. /* ..... drag and drop styles ..... */
  120.  
  121. .bookmark-item[dragover-left="true"] {
  122.   -moz-border-left-colors: #000000;
  123. }
  124. .bookmark-item[dragover-right="true"] {
  125.   -moz-border-right-colors: #000000;
  126. }
  127. .bookmark-item[dragover-top="true"] {
  128.   -moz-border-top-colors: #000000;
  129. }
  130. .bookmark-item[dragover-bottom="true"] {
  131.   -moz-border-bottom-colors: #000000;
  132. }
  133.  
  134.  
  135. /* ::::: bookmark items ::::: */
  136.  
  137. .bookmark-item  {
  138.   list-style-image: url("chrome://browser/skin/icons/bookmark_item.png") !important;
  139. }
  140.  
  141. .bookmark-item:hover {
  142.   list-style-image: url("chrome://browser/skin/icons/bookmark_item-hov.png") !important;
  143.     color: #7791B6 !important;
  144.     background: #B6C8B9 !important;
  145. }
  146.  
  147. .bookmark-item[container="true"] {
  148.   list-style-image: url("chrome://browser/skin/icons/folder_closed.png") !important;
  149.     margin-top: 2px;
  150. }
  151.  
  152. .bookmark-item[open="true"],
  153. .bookmark-item[container="true"][open="true"] {
  154.   list-style-image: url("chrome://browser/skin/icons/folder_open.png") !important;
  155. }
  156.  
  157. /* livemarks have the same layout as folder-item, but in the browser-only livemark-item.png */
  158. /* only the folder icon has any effect for now, item icon is unused */
  159. .bookmark-item[livemark="true"] { 
  160.   list-style-image: url("chrome://browser/skin/icons/page-livemarks.png") !important;
  161. }
  162.  
  163. .bookmark-item[livemark="true"][open="true"],
  164. .bookmark-item[type="menu"][livemark="true"][open="true"] { 
  165.   list-style-image: url("chrome://browser/skin/icons/page-livemarks-hov.png") !important;
  166. }
  167.  
  168. .bookmark-item[type="menu"][livemark="true"] { 
  169.   list-style-image: url("chrome://browser/skin/icons/page-livemarks-hov.png") !important;
  170.     margin: 1px 0;
  171. }
  172.  
  173.  
  174. /* ::::: Primary toolbar buttons ::::: */
  175.  
  176. .toolbarbutton-1 {
  177.   -moz-box-orient: vertical;
  178.   min-width: 0;
  179. }
  180.  
  181. .toolbarbutton-1 .toolbarbutton-icon {
  182.   margin-right: 3px;
  183. }
  184.  
  185. toolbar[mode="full"] .toolbarbutton-1,
  186. toolbar[mode="full"] .toolbarbutton-menubutton-button {
  187.   min-width: 57px;
  188. }
  189.  
  190. .toolbarbutton-1, 
  191. .toolbarbutton-menubutton-button {
  192.   padding: 2px;
  193. }
  194.  
  195. .toolbarbutton-1:hover:active:not([disabled]),
  196. .toolbarbutton-1[open="true"], 
  197. .toolbarbutton-menubutton-button:hover:active:not([disabled]),
  198. .toolbarbutton-menubutton-button[open="true"] {
  199.   padding: 2px;
  200. }
  201.  
  202. .toolbarbutton-1[checked="true"] {
  203.   padding: 2px !important;
  204. }
  205.  
  206. .toolbarbutton-1[type="menu-button"] {
  207.   padding: 0px !important;
  208. }
  209.  
  210. .toolbarbutton-menubutton-stack,
  211. .toolbarbutton-menubutton-button,
  212. .toolbarbutton-menubutton-stack:hover,
  213. .toolbarbutton-menubutton-button:hover,
  214. .toolbarbutton-menubutton-stack:hover:active,
  215. .toolbarbutton-menubutton-button:hover:active {
  216.   margin: 0 !important;
  217.   display: -moz-box;
  218. }
  219.  
  220. toolbar[mode="icons"] .toolbarbutton-text {
  221.   display: none;
  222. }
  223.  
  224. toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker,
  225. toolbar[mode="text"] .toolbarbutton-icon {
  226.   display: none;
  227. }
  228.  
  229. toolbar[mode="text"] .toolbarbutton-text {
  230.     padding-top: 3px !important;
  231.     margin: 0 3px !important;
  232. }
  233.  
  234. /* ::::: 32px primary toolbar buttons ::::: */
  235.  
  236. /* Back button */
  237.  
  238. #back-button {
  239.   list-style-image: url("chrome://browser/skin/icons/back.png");
  240.   -moz-image-region: rect(0px 32px 32px 0px);
  241. }
  242.  
  243. #back-button:hover,
  244. #back-button[buttonover="true"] {    
  245.     -moz-image-region: rect(32px 32px 64px 0px); 
  246. }
  247.  
  248. #back-button[disabled="true"] {    
  249.     -moz-image-region: rect(64px 32px 96px 0px); 
  250. }
  251.  
  252. #back-button > .toolbarbutton-menubutton-dropmarker {
  253.   margin-left: -9px !important;
  254. }
  255.  
  256. /* Forward button */
  257.  
  258. #forward-button {
  259.   list-style-image: url("chrome://browser/skin/icons/forward.png");
  260.   -moz-image-region: rect(0px 32px 32px 0px);
  261. }
  262.  
  263. #forward-button:hover,
  264. #forward-button[buttonover="true"] {
  265.     -moz-image-region: rect(32px 32px 64px 0px); 
  266. }
  267.  
  268. #forward-button[disabled="true"] { 
  269.     -moz-image-region: rect(64px 32px 96px 0px); 
  270. }
  271.  
  272. #forward-button > .toolbarbutton-menubutton-dropmarker {
  273.   margin-left: -13px !important;
  274.     margin-right: 2px;
  275. }
  276.  
  277. /* Stop button */
  278.  
  279. #stop-button {
  280.     list-style-image: url("chrome://browser/skin/icons/stop.png");
  281.     -moz-image-region: rect(0px 32px 32px 0px);
  282. }
  283.  
  284. #stop-button:hover,
  285. #stop-button[buttonover="true"] { 
  286.     -moz-image-region: rect(32px 32px 64px 0px); 
  287. }
  288.  
  289. #stop-button[disabled="true"] {    
  290.     -moz-image-region: rect(64px 32px 96px 0px); 
  291. }
  292.  
  293. /* Reload button */
  294.  
  295. #reload-button {
  296.     list-style-image: url("chrome://browser/skin/icons/reload.png");
  297.     -moz-image-region: rect(0px 32px 32px 0px);
  298. }
  299.  
  300. #reload-button:hover,
  301. #reload-button[buttonover="true"] {    
  302.     -moz-image-region: rect(32px 32px 64px 0px); 
  303. }
  304.  
  305. #reload-button[disabled="true"] {
  306.     -moz-image-region: rect(64px 32px 96px 0px); 
  307. }
  308.  
  309. /* Home button */
  310.  
  311. #home-button {
  312.   list-style-image: url("chrome://browser/skin/icons/home.png");
  313.   -moz-image-region: rect(0px 32px 32px 0px);
  314. }
  315.  
  316. #home-button:hover,
  317. #home-button[buttonover="true"] {  
  318.     -moz-image-region: rect(32px 32px 64px 0px); 
  319. }
  320.  
  321. /* Download manager button */    
  322.  
  323. #downloads-button {
  324.     list-style-image: url("chrome://browser/skin/icons/downloads.png");
  325.     -moz-image-region: rect(0px 32px 32px 0px);
  326. }
  327.  
  328. #downloads-button:hover,
  329. #downloads-button[buttonover="true"] {    
  330.     -moz-image-region: rect(32px 32px 64px 0px); 
  331. }
  332.  
  333. #downloads-button[disabled="true"] { 
  334.     -moz-image-region: rect(64px 32px 96px 0px); 
  335. }
  336.  
  337. /* History sidebar button */ 
  338.  
  339. #history-button {
  340.     list-style-image: url("chrome://browser/skin/icons/history.png");
  341.     -moz-image-region: rect(0px 32px 32px 0px);
  342. }
  343.  
  344. #history-button:hover,
  345. #history-button[buttonover="true"],
  346. #history-button[checked="true"],
  347. #history-button[buttondown="true"] {    
  348.     -moz-image-region: rect(32px 32px 64px 0px); 
  349. }
  350.  
  351. #history-button[disabled="true"] {
  352.     -moz-image-region: rect(64px 32px 96px 0px); 
  353. }
  354.  
  355. /* Bookmark sidebar button */
  356.  
  357. #bookmarks-button {
  358.     list-style-image: url("chrome://browser/skin/icons/bookmarks.png");
  359.     -moz-image-region: rect(0px 32px 32px 0px);
  360. }
  361.  
  362. #bookmarks-button:hover,
  363. #bookmarks-button[buttonover="true"],
  364. #bookmarks-button[checked="true"],
  365. #bookmarks-button[buttondown="true"]  {    
  366.     -moz-image-region: rect(32px 32px 64px 0px); 
  367. }
  368.  
  369. #bookmarks-button[disabled="true"] { 
  370.     -moz-image-region: rect(64px 32px 96px 0px); 
  371. }
  372.  
  373. /* Print button */
  374.  
  375. #print-button {
  376.     list-style-image: url("chrome://browser/skin/icons/print.png");
  377.     -moz-image-region: rect(0px 32px 32px 0px);
  378. }
  379.  
  380. #print-button:hover,
  381. #print-button[buttonover="true"] {    
  382.     -moz-image-region: rect(32px 32px 64px 0px); 
  383. }
  384.  
  385. #print-button[disabled="true"] { 
  386.     -moz-image-region: rect(64px 32px 96px 0px); 
  387. }
  388.  
  389. /* New Tab button */
  390.  
  391. #new-tab-button {
  392.  list-style-image: url("chrome://browser/skin/icons/new_tab.png");
  393.  -moz-image-region: rect(0px 32px 32px 0px);
  394. }
  395.  
  396. #new-tab-button:hover,
  397. #new-tab-button[buttonover="true"]  { 
  398.     -moz-image-region: rect(32px 32px 64px 0px); 
  399. }
  400.  
  401. #new-tab-button[disabled="true"] { 
  402.     -moz-image-region: rect(64px 32px 96px 0px);    
  403. }
  404.  
  405. /* New Window button */
  406.  
  407. #new-window-button {
  408.  list-style-image: url("chrome://browser/skin/icons/new_window.png");
  409.   -moz-image-region: rect(0px 32px 32px 0px);
  410. }
  411.  
  412. #new-window-button:hover,
  413. #new-window-button[buttonover="true"]  { 
  414.     -moz-image-region: rect(32px 32px 64px 0px);
  415. }
  416.  
  417. #new-window-button[disabled="true"] { 
  418.     -moz-image-region: rect(64px 32px 96px 0px); 
  419. }
  420.  
  421. /* Cut button */    
  422.  
  423. #cut-button {
  424.     list-style-image: url("chrome://browser/skin/icons/cut.png");
  425.     -moz-image-region: rect(0px 32px 32px 0px);
  426. }
  427.  
  428. #cut-button:hover,
  429. #cut-button[buttonover="true"] {    
  430.     -moz-image-region: rect(32px 32px 64px 0px); 
  431. }
  432.  
  433. #cut-button[disabled="true"] { 
  434.     -moz-image-region: rect(64px 32px 96px 0px); 
  435. }
  436.  
  437. /* Copy button */    
  438.  
  439. #copy-button {
  440.     list-style-image: url("chrome://browser/skin/icons/copy.png");
  441.     -moz-image-region: rect(0px 32px 32px 0px);
  442. }
  443.  
  444. #copy-button:hover,
  445. #copy-button[buttonover="true"] { 
  446.     -moz-image-region: rect(32px 32px 64px 0px); 
  447. }
  448.  
  449. #copy-button[disabled="true"] {    
  450.     -moz-image-region: rect(64px 32px 96px 0px); 
  451. }
  452.  
  453. /* Paste button */
  454.  
  455. #paste-button {
  456.     list-style-image: url("chrome://browser/skin/icons/paste.png");
  457.     -moz-image-region: rect(0px 32px 32px 0px);
  458. }
  459.  
  460. #paste-button:hover,
  461. #paste-button[buttonover="true"] {    
  462.     -moz-image-region: rect(32px 32px 64px 0px); 
  463. }
  464.  
  465. #paste-button[disabled="true"] { 
  466.     -moz-image-region: rect(64px 32px 96px 0px); 
  467. }
  468.  
  469. /* Mail button */
  470.  
  471. #mail-button {
  472.  list-style-image: url("chrome://browser/skin/icons/mails.png");
  473.   -moz-image-region: rect(0px 32px 32px 0px);
  474. }
  475.  
  476. #mail-button .toolbarbutton-menu-dropmarker {    
  477.     display: none;
  478. }
  479.  
  480. #mail-button:hover,
  481. #mail-button[buttonover="true"] { 
  482.     -moz-image-region: rect(32px 32px 64px 0px); 
  483. }
  484.  
  485. #mail-button[disabled="true"] { 
  486.     -moz-image-region: rect(64px 32px 96px 0px); 
  487. }
  488.  
  489.  
  490. /* ::::: 24px primary toolbar buttons ::::: */    
  491.  
  492. toolbar[iconsize="small"] .toolbarbutton-1 {
  493.   -moz-box-orient: vertical;
  494. }
  495.  
  496. toolbar[iconsize="small"] .toolbarbutton-1 .toolbarbutton-icon {
  497.   margin-right: 3px;
  498. }
  499.  
  500. toolbar[iconsize="small"] .toolbarbutton-1, 
  501. toolbar[iconsize="small"] .toolbarbutton-menubutton-button {
  502.   padding: 2px;
  503. }
  504.  
  505. toolbar[iconsize="small"] .toolbarbutton-1:hover:active:not([disabled]),
  506. toolbar[iconsize="small"] .toolbarbutton-1[open="true"], 
  507. toolbar[iconsize="small"] .toolbarbutton-menubutton-button:hover:active:not([disabled]),
  508. toolbar[iconsize="small"] .toolbarbutton-menubutton-button[open="true"] {
  509.   padding: 2px;
  510. }
  511.  
  512. toolbar[iconsize="small"] .toolbarbutton-1[checked="true"] {
  513.   padding: 2px !important;
  514. }
  515.  
  516. toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"] {
  517.   padding: 0 !important;
  518. }
  519.  
  520. toolbar[iconsize="small"] .toolbarbutton-menubutton-stack,
  521. toolbar[iconsize="small"] .toolbarbutton-menubutton-button,
  522. toolbar[iconsize="small"] .toolbarbutton-menubutton-stack:hover,
  523. toolbar[iconsize="small"] .toolbarbutton-menubutton-button:hover,
  524. toolbar[iconsize="small"] .toolbarbutton-menubutton-stack:hover:active,
  525. toolbar[iconsize="small"] .toolbarbutton-menubutton-button:hover:active {
  526.   margin: 0 !important;
  527.   display: -moz-box;
  528. }
  529.  
  530. /* Back button */
  531.  
  532. toolbar[iconsize="small"] #back-button {
  533.     list-style-image: url("chrome://browser/skin/icons/back-small.png");
  534.     -moz-image-region: rect(0px 24px 24px 0px);
  535. }
  536.  
  537. toolbar[iconsize="small"] #back-button:hover,
  538. toolbar[iconsize="small"] #back-button[buttonover="true"] {
  539.     -moz-image-region: rect(24px 24px 48px 0px);
  540. }
  541.  
  542. toolbar[iconsize="small"] #back-button[disabled="true"] {
  543.     -moz-image-region: rect(48px 24px 72px 0px);
  544. }
  545.  
  546. toolbar[iconsize="small"] #back-button > .toolbarbutton-menubutton-dropmarker {
  547.   margin-right: 2px !important;
  548.     padding-left: 2px !important;
  549. }
  550.  
  551. /* Forward button */
  552.  
  553. toolbar[iconsize="small"] #forward-button {
  554.     list-style-image: url("chrome://browser/skin/icons/forward-small.png");
  555.     -moz-image-region: rect(0px 24px 24px 0px);
  556. }
  557.  
  558. toolbar[iconsize="small"] #forward-button:hover,
  559. toolbar[iconsize="small"] #forward-button[buttonover="true"] {
  560.     -moz-image-region: rect(24px 24px 48px 0px);
  561. }
  562.  
  563. toolbar[iconsize="small"] #forward-button[disabled="true"] {
  564.     -moz-image-region: rect(48px 24px 72px 0px);
  565. }
  566.  
  567. toolbar[iconsize="small"] #forward-button > .toolbarbutton-menubutton-dropmarker {
  568.   margin-right: 3px !important;
  569.     padding-left: 2px !important;    
  570. }
  571.  
  572. /* Stop button */
  573.  
  574. toolbar[iconsize="small"] #stop-button {
  575.     list-style-image: url("chrome://browser/skin/icons/stop-small.png");
  576.     -moz-image-region: rect(0px 24px 24px 0px);
  577. }
  578.  
  579. toolbar[iconsize="small"] #stop-button:hover,
  580. toolbar[iconsize="small"] #stop-button[buttonover="true"] {
  581.     -moz-image-region: rect(24px 24px 48px 0px);
  582. }
  583.  
  584. toolbar[iconsize="small"] #stop-button[disabled="true"] {
  585.     -moz-image-region: rect(48px 24px 72px 0px);
  586. }
  587.  
  588. /* Reload button */
  589.  
  590. toolbar[iconsize="small"] #reload-button {
  591.     list-style-image: url("chrome://browser/skin/icons/reload-small.png");
  592.     -moz-image-region: rect(0px 24px 24px 0px);
  593. }
  594.  
  595. toolbar[iconsize="small"] #reload-button:hover,
  596. toolbar[iconsize="small"] #reload-button[buttonover="true"] {
  597.     -moz-image-region: rect(24px 24px 48px 0px);
  598. }
  599. toolbar[iconsize="small"] #reload-button[disabled="true"] {
  600.     -moz-image-region: rect(48px 24px 72px 0px);
  601. }
  602.  
  603. /* Home button */
  604.  
  605. toolbar[iconsize="small"] #home-button {
  606.   list-style-image: url("chrome://browser/skin/icons/home-small.png");
  607.   -moz-image-region: rect(0px 24px 24px 0px);
  608. }
  609.  
  610. toolbar[iconsize="small"] #home-button:hover,
  611. toolbar[iconsize="small"] #home-button[buttonover="true"] {
  612.   -moz-image-region: rect(24px 24px 48px 0px);
  613. }
  614.  
  615. /* Download Manager button */
  616.  
  617. toolbar[iconsize="small"] #downloads-button {
  618.     list-style-image: url("chrome://browser/skin/icons/downloads-small.png");
  619.     -moz-image-region: rect(0px 24px 24px 0px);
  620. }
  621.  
  622. toolbar[iconsize="small"] #downloads-button:hover,
  623. toolbar[iconsize="small"] #downloads-button[buttonover="true"] {
  624.     -moz-image-region: rect(24px 24px 48px 0px);
  625. }
  626.  
  627. toolbar[iconsize="small"] #downloads-button[disabled="true"] {
  628.     -moz-image-region: rect(48px 24px 72px 0px);
  629. }
  630.  
  631. /* History Sidebar button */
  632.  
  633. toolbar[iconsize="small"] #history-button {
  634.     list-style-image: url("chrome://browser/skin/icons/history-small.png");
  635.     -moz-image-region: rect(0px 24px 24px 0px);
  636. }
  637.  
  638. toolbar[iconsize="small"] #history-button:hover,
  639. toolbar[iconsize="small"] #history-button[buttonover="true"],
  640. toolbar[iconsize="small"] #history-button[checked="true"],
  641. toolbar[iconsize="small"] #history-button[buttondown="true"] {
  642.     -moz-image-region: rect(24px 24px 48px 0px);
  643. }
  644.  
  645. toolbar[iconsize="small"] #history-button[disabled="true"] {
  646.     -moz-image-region: rect(48px 24px 72px 0px);
  647. }
  648.  
  649. /* Bookmark Sidebar button */
  650.  
  651. toolbar[iconsize="small"] #bookmarks-button {
  652.     list-style-image: url("chrome://browser/skin/icons/bookmarks-small.png");
  653.     -moz-image-region: rect(0px 24px 24px 0px);
  654. }
  655.  
  656. toolbar[iconsize="small"] #bookmarks-button:hover,
  657. toolbar[iconsize="small"] #bookmarks-button[buttonover="true"],
  658. toolbar[iconsize="small"] #bookmarks-button[checked="true"],
  659. toolbar[iconsize="small"] #bookmarks-button[buttondown="true"]  {
  660.   -moz-image-region: rect(24px 24px 48px 0px);
  661. }
  662.  
  663. toolbar[iconsize="small"] #bookmarks-button[disabled="true"] {
  664.     -moz-image-region: rect(48px 24px 72px 0px);
  665. }
  666.  
  667. /* Print button */
  668.  
  669. toolbar[iconsize="small"] #print-button {
  670.   list-style-image: url("chrome://browser/skin/icons/print-small.png");
  671.   -moz-image-region: rect(0px 24px 24px 0px);
  672. }
  673.  
  674. toolbar[iconsize="small"] #print-button:hover,
  675. toolbar[iconsize="small"] #print-button[buttonover="true"] {
  676.     -moz-image-region: rect(24px 24px 48px 0px);
  677. }
  678.  
  679. toolbar[iconsize="small"] #print-button[disabled="true"] {
  680.   -moz-image-region: rect(48px 24px 72px 0px);
  681. }
  682.  
  683. /* New Tab button */
  684.  
  685. toolbar[iconsize="small"] #new-tab-button {
  686.     list-style-image: url("chrome://browser/skin/icons/new_tab-small.png");
  687.     -moz-image-region: rect(0px 24px 24px 0px);
  688. }
  689.  
  690. toolbar[iconsize="small"] #new-tab-button:hover,
  691. toolbar[iconsize="small"] #new-tab-button[buttonover="true"] {
  692.     -moz-image-region: rect(24px 24px 48px 0px);
  693. }
  694.  
  695. toolbar[iconsize="small"] #new-tab-button[disabled="true"] {
  696.     -moz-image-region: rect(48px 24px 72px 0px);
  697. }
  698.  
  699. /* New Window button */
  700.  
  701. toolbar[iconsize="small"] #new-window-button {
  702.     list-style-image: url("chrome://browser/skin/icons/new_window-small.png");
  703.     -moz-image-region: rect(0px 24px 24px 0px);
  704. }
  705.  
  706. toolbar[iconsize="small"] #new-window-button:hover,
  707. toolbar[iconsize="small"] #new-window-button[buttonover="true"] {
  708.     -moz-image-region: rect(24px 24px 48px 0px);
  709. }
  710.  
  711. toolbar[iconsize="small"] #new-window-button[disabled="true"] {
  712.     -moz-image-region: rect(48px 24px 72px 0px);
  713. }
  714.  
  715. /* Cut button */
  716.  
  717. toolbar[iconsize="small"] #cut-button {
  718.     list-style-image: url("chrome://browser/skin/icons/cut-small.png");
  719.     -moz-image-region: rect(0px 24px 24px 0px);
  720. }
  721.  
  722. toolbar[iconsize="small"] #cut-button:hover,
  723. toolbar[iconsize="small"] #cut-button[buttonover="true"] {
  724.     -moz-image-region: rect(24px 24px 48px 0px);
  725. }
  726.  
  727. toolbar[iconsize="small"] #cut-button[disabled="true"] {
  728.     -moz-image-region: rect(48px 24px 72px 0px);
  729. }
  730.  
  731. /* Copy button */
  732.  
  733. toolbar[iconsize="small"] #copy-button {
  734.     list-style-image: url("chrome://browser/skin/icons/copy-small.png");
  735.     -moz-image-region: rect(0px 24px 24px 0px);
  736. }
  737.  
  738. toolbar[iconsize="small"] #copy-button:hover,
  739. toolbar[iconsize="small"] #copy-button[buttonover="true"] {
  740.     -moz-image-region: rect(24px 24px 48px 0px);
  741. }
  742.  
  743. toolbar[iconsize="small"] #copy-button[disabled="true"] {
  744.     -moz-image-region: rect(48px 24px 72px 0px);
  745. }
  746.  
  747. /* Paste button */
  748.  
  749. toolbar[iconsize="small"] #paste-button {
  750.     list-style-image: url("chrome://browser/skin/icons/paste-small.png");
  751.     -moz-image-region: rect(0px 24px 24px 0px);
  752. }
  753.  
  754. toolbar[iconsize="small"] #paste-button:hover,
  755. toolbar[iconsize="small"] #paste-button[buttonover="true"] {
  756.     -moz-image-region: rect(24px 24px 48px 0px);
  757. }
  758.  
  759. toolbar[iconsize="small"] #paste-button[disabled="true"] {
  760.     -moz-image-region: rect(48px 24px 72px 0px);
  761. }
  762.  
  763. /* Mail button */
  764.  
  765. toolbar[iconsize="small"] #mail-button {
  766.     list-style-image: url("chrome://browser/skin/icons/mails-small.png");
  767.     -moz-image-region: rect(0px 24px 24px 0px);
  768. }
  769.  
  770. toolbar[iconsize="small"] #mail-button:hover,
  771. toolbar[iconsize="small"] #mail-button[buttonover="true"] {
  772.     -moz-image-region: rect(24px 24px 48px 0px);
  773. }
  774.  
  775. toolbar[iconsize="small"] #mail-button[disabled="true"] {
  776.     -moz-image-region: rect(48px 24px 72px 0px);
  777. }
  778.  
  779.  
  780. /* ::::: fullscreen window controls ::::: */
  781.  
  782. #window-controls {
  783.   -moz-box-align: center;
  784.   padding: 0 2px 0 4px;
  785. }
  786.  
  787. #minimize-button {
  788.   list-style-image: url("chrome://global/skin/icons/Minimize.gif");
  789. }
  790.  
  791. #restore-button {
  792.   list-style-image: url("chrome://global/skin/icons/Restore.gif");
  793. }
  794.  
  795. #close-button{
  796.   list-style-image: url("chrome://browser/skin/icons/close-button.png");
  797.  
  798. #close-button:hover, #close-button:hover:active {
  799.   list-style-image: url("chrome://browser/skin/icons/close-button-hov.png") !important;
  800. }
  801.  
  802.  
  803. /* ::::: nav-bar-inner ::::: */
  804.     
  805. #urlbar {
  806.   -moz-appearance: none !important;
  807.   background: url("chrome://global/skin/menulist/searchbar-startcap.png") no-repeat left center;
  808.   border: none !important;    
  809.     margin: 0 6px !important;
  810.   padding-left: 6px;
  811. }
  812.  
  813. /* urlbar endcap */
  814.  
  815. #urlbar>.autocomplete-history-dropmarker {
  816.   border: none;
  817.   width: 20px;
  818.   -moz-appearance: none !important;
  819.   -moz-box-align: center;
  820.   -moz-box-pack: center;
  821.   background: url("chrome://global/skin/menulist/searchbar-endcap.png") no-repeat right center;
  822.   list-style-image: url("chrome://browser/skin/icons/url_dropmarker.png");
  823.   -moz-image-region: rect(0px 16px 16px 0px);
  824.   background-color: transparent;
  825.   background-repeat: no-repeat;
  826.   margin: 0px;
  827.   min-height: 22px;
  828. }
  829.  
  830. /* urlbar body */    
  831.  
  832. #urlbar>.autocomplete-textbox-container {
  833.   -moz-appearance: none !important;
  834.   background: url("chrome://global/skin/menulist/searchbar-text.png") repeat-x left center;
  835.   padding: 2px 0px;
  836. }
  837.  
  838. #urlbar > .autocomplete-history-dropmarker:hover,
  839. #urlbar > .autocomplete-history-dropmarker:hover:active {
  840.   -moz-image-region: rect(16px 16px 32px 0px);
  841. }
  842.  
  843. /* Make the searchbar wider */ 
  844.  
  845. /* Seachbar startcap */
  846.  
  847. #search-container {
  848.   -moz-appearance: none !important;
  849.   -moz-box-flex: 350 !important;
  850.   border: none !important;
  851.   background: url("chrome://global/skin/menulist/searchbar-startcap.png") no-repeat left center;
  852.   margin: 0 2px;
  853.     padding: 0 2px 0 6px;
  854.   min-height: 22px;
  855. }
  856.  
  857. #searchbar {
  858.   -moz-box-flex: 350 !important;
  859.     margin: 0;
  860. }    
  861.  
  862.  
  863. /* ::::: page proxy icon ::::: */    
  864.  
  865. #page-proxy-deck,
  866. #page-proxy-favicon,
  867. #search-proxy-button,
  868. #page-proxy-button {
  869.   width: 16px;
  870.   height: 16px;
  871. }
  872.  
  873. #page-proxy-deck {
  874.   cursor: -moz-grab;
  875.     margin: 1px 1px 1px 0;
  876. }
  877.  
  878. #page-proxy-favicon {
  879.   list-style-image: none;
  880. }
  881.  
  882. #page-proxy-button {
  883.   list-style-image: url("chrome://browser/skin/icons/bookmark_item.png") !important;
  884. }
  885.  
  886. #page-proxy-button[pageproxystate="invalid"] {
  887.     cursor: default;
  888.     list-style-image: url("chrome://browser/skin/icons/bookmark_item-hov.png") !important;
  889. }
  890.  
  891. statusbarpanel#statusbar-display {
  892.   padding-left: 0;
  893. }    
  894.  
  895. /* ::::: autocomplete ::::: */
  896.  
  897. .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
  898.   color: #C0D1C1;
  899. }    
  900.  
  901.  
  902. /* ::::: Go button ::::: */
  903.  
  904. #go-button {
  905.  list-style-image: url("chrome://browser/skin/icons/go.png");
  906.  -moz-image-region: rect(0px 18px 19px 0px);
  907.  margin: 1px 2px 0 0 !important;
  908.  padding: 0 !important;
  909. }
  910.  
  911. #go-button:hover,
  912. #go-button[buttonover="true"] {
  913.   -moz-image-region: rect(19px 18px 38px 0px);
  914. }    
  915.  
  916. #go-button[disabled="true"] {
  917.  -moz-image-region: rect(38px 18px 57px 0px);
  918. }
  919.  
  920. #go-button > .toolbarbutton-text {
  921.   display: none !important;
  922. }
  923.  
  924. #sidebar {
  925.     background-color: #C0D1C1;
  926. }
  927.  
  928.  
  929. /* ::::: content area ::::: */ 
  930.  
  931. #status-bar {
  932.     padding: 1px 0;
  933. }
  934.  
  935. #security-button {
  936.   list-style-image: url("chrome://browser/skin/icons/secure-dis.png");
  937.     width: 25px;
  938.     margin-left: 6px;
  939. }
  940.  
  941. #security-button[level="high"] {
  942.   list-style-image: url("chrome://browser/skin/icons/secure.png");
  943. }
  944.  
  945. #security-button[level="low"] {
  946.   list-style-image: url("chrome://browser/skin/secure_low.png");
  947. }
  948.  
  949. #security-button[level="broken"] {
  950.   list-style-image: url("chrome://browser/skin/security-broken.png");
  951. }
  952.  
  953. /* XXXsw prevent margins of a value-less label from shifting the image */
  954. #security-button > label:not([value]) {
  955.   display: none;
  956. }
  957.  
  958. #page-report-button {
  959.   list-style-image: url("chrome://browser/skin/icons/popup-blocked-dis.png");
  960.     width: 25px;
  961. }
  962.  
  963. #page-report-button[blocked] {
  964.   list-style-image: url("chrome://browser/skin/icons/popup-blocked.png");  
  965. }
  966.  
  967. #page-theme-button {
  968.   list-style-image: url("chrome://browser/skin/icons/page-themes-dis.png"); 
  969.   width: 25px;
  970. }
  971.  
  972. #page-theme-button[themes] {
  973.   list-style-image: url("chrome://browser/skin/icons/page-themes.png");  
  974. }
  975.  
  976. #livemark-button {
  977.   list-style-image: url("chrome://browser/skin/icons/page-livemarks-dis.png");
  978.     width: 25px;
  979. }
  980.  
  981. #livemark-button[livemarks] {
  982.   list-style-image: url("chrome://browser/skin/icons/page-livemarks.png");    
  983. }
  984.  
  985.  
  986. /* ::::: throbber ::::: */
  987.  
  988. #navigator-throbber {
  989.   -moz-appearance: none !important;
  990.   -moz-user-focus: ignore;
  991.     -moz-box-pack: center;
  992.     list-style-image: url("chrome://browser/skin/icons/throbber.png");
  993.     min-width: 0;
  994.     height: 32px;
  995.   margin: 0 6px !important;
  996.     padding: 0 !important;    
  997.   background: transparent !important;
  998.     border: none !important;   
  999. }
  1000.  
  1001. #navigator-throbber .button-box {
  1002.     background: none !important;
  1003.     padding: 0 !important;
  1004. }
  1005.  
  1006. #navigator-throbber[busy="true"] {
  1007.   list-style-image: url("chrome://browser/skin/icons/throbber.gif");
  1008.     height: 32px;
  1009. }
  1010.  
  1011. toolbar[iconsize="small"] #navigator-throbber,
  1012. toolbar[mode="text"] #navigator-throbber {
  1013.   list-style-image: url("chrome://browser/skin/icons/throbber-small.png");
  1014.   height: 24px;
  1015. }
  1016.  
  1017. toolbar[iconsize="small"] #navigator-throbber[busy="true"],
  1018. toolbar[mode="text"] #navigator-throbber[busy="true"] {
  1019.   list-style-image: url("chrome://browser/skin/icons/throbber-small.gif");
  1020.   height: 24px;
  1021. }
  1022.  
  1023. .tabs-closebutton > .toolbarbutton-icon {
  1024.   margin: 0 0 0 3px !important;
  1025.   padding-right: 2px !important;
  1026. }
  1027.  
  1028. .tabs-closebutton {
  1029.   -moz-appearance: none !important;    
  1030.   list-style-image: url("chrome://browser/skin/icons/close-button.png");
  1031.     border: none !important;
  1032.     margin: 0;
  1033.     padding: 0 !important;        
  1034. }
  1035.  
  1036. .tabs-closebutton:hover, 
  1037. .tabs-closebutton:hover:active {
  1038.   list-style-image: url("chrome://browser/skin/icons/close-button-hov.png");
  1039. }
  1040.  
  1041. #sidebar-box .tabs-closebutton {
  1042.   margin: 1px 0 !important;
  1043.   padding: 0 !important;
  1044. }
  1045.  
  1046. #FindToolbar > .tabs-closebutton {
  1047.   padding-left: 3px !important;
  1048. }
  1049.  
  1050. toolbarbutton.chevron {
  1051.   list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
  1052. }
  1053.  
  1054. toolbarbutton.chevron > .toolbarbutton-text {
  1055.   display: none; /* hide chevron label */
  1056. }
  1057.  
  1058. toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
  1059.   display: none;
  1060. }
  1061.  
  1062. toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon {
  1063.   display: -moz-box; /* display chevron icon in text mode */
  1064. }
  1065.  
  1066. toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon {
  1067.   display: -moz-box;
  1068. }
  1069.  
  1070. toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-text {
  1071.    display: none;
  1072. }
  1073.  
  1074. #sidebar-throbber[loading="true"] {
  1075.   list-style-image: url("chrome://global/icons/loading.gif");
  1076. }
  1077.  
  1078. #urlbar[level="high"] > .autocomplete-textbox-container,
  1079. #urlbar[level="low"] > .autocomplete-textbox-container,
  1080. #urlbar[level="broken"] > .autocomplete-textbox-container {
  1081.   background-color: #F5F6BE;
  1082.   color: #000000;
  1083. }
  1084.  
  1085. #urlbar[level="high"] > .autocomplete-textbox-container > .info-icon {
  1086.   list-style-image: url("chrome://browser/skin/secure.png");
  1087. }
  1088. #urlbar[level="low"] > .autocomplete-textbox-container > .info-icon {
  1089.   list-style-image: url("chrome://browser/skin/secure-low.png");
  1090. }
  1091. #urlbar[level="broken"] > .autocomplete-textbox-container > .info-icon {
  1092.   list-style-image: url("chrome://browser/skin/security-broken.png");
  1093. }
  1094.  
  1095.  
  1096. /* ::::: Find Toolbar - to be deleted :::::  */
  1097.  
  1098. #FindToolbar {
  1099.      border: 2px solid;
  1100.   -moz-border-top-colors: #A6B7A9 #DBE8DD;
  1101.   -moz-border-right-colors: #DBE8DD #A6B7A9;
  1102.   -moz-border-bottom-colors:  #DBE8DD #A6B7A9;
  1103.   -moz-border-left-colors: #A6B7A9 #DBE8DD;
  1104.     -moz-border-radius: 2px;    
  1105.     padding-bottom: 1px;
  1106.   background-image : url("chrome://browser/skin/bg.png") !important;
  1107. }
  1108.  
  1109. /* Find-next button */
  1110. #find-next {
  1111.   list-style-image: url("chrome://browser/skin/icons/find-next.png");
  1112.   -moz-image-region: rect(0px 16px 16px 0px);
  1113.     padding: 0 4px;
  1114.   border-right: 1px solid #A6B7A9;
  1115. }
  1116.  
  1117. #find-next:hover {
  1118.   -moz-image-region: rect(16px 16px 32px 0px);
  1119. }
  1120.  
  1121. #find-next[disabled="true"] {
  1122.   -moz-image-region: rect(32px 16px 48px 0px) !important;
  1123. }
  1124.  
  1125. /* Find-previous button */
  1126. #find-previous {
  1127.   list-style-image: url("chrome://browser/skin/icons/find-prev.png");
  1128.   -moz-image-region: rect(0px 16px 16px 0px);
  1129.     padding: 0 4px;
  1130.   border-right: 1px solid #A6B7A9;
  1131. }
  1132.  
  1133. #find-previous:hover {
  1134.   -moz-image-region: rect(16px 16px 32px 0px);
  1135. }
  1136.  
  1137. #find-previous[disabled="true"] {
  1138.   -moz-image-region: rect(32px 16px 48px 0px) !important;
  1139. }
  1140.  
  1141. /* Highlight button */
  1142. #highlight {
  1143.   list-style-image: url("chrome://browser/skin/icons/find-highlight.png");
  1144.   -moz-image-region: rect(0px 16px 16px 0px);
  1145.     padding: 0 4px;
  1146. }
  1147.  
  1148. #highlight:hover, #highlight:active, 
  1149. #highlight[checked="true"],
  1150. #highlight[checked="true"]:hover {
  1151.   -moz-image-region: rect(16px 16px 32px 0px);
  1152. }
  1153.  
  1154. #highlight[disabled="true"] {
  1155.   -moz-image-region: rect(32px 16px 48px 0px) !important;
  1156. }
  1157.  
  1158. #find-status-icon {
  1159.     list-style-image: none;
  1160.     margin-left: 20px;
  1161.     width: 16px;
  1162.   height: 16px;
  1163. }
  1164.  
  1165. #find-status-icon[status="notfound"] {
  1166.   list-style-image: url("chrome://browser/skin/icons/find-notfound.png");
  1167. }
  1168.  
  1169. #find-status { margin: 1px 0px 0px 5px; }
  1170.  
  1171. #find-field {
  1172.   -moz-appearance: none;
  1173.   border: none;    
  1174.   margin: 0px;
  1175. }
  1176.  
  1177. #find-field[status="notfound"] {
  1178.   background-color: #E51616;
  1179.   color: white;
  1180. }
  1181.  
  1182. #FindToolbar[flash="true"]  > #find-field-container > #find-field {
  1183.   background-color: #7FFF00;
  1184. }
  1185.  
  1186. #find-status-icon[status="wrapped"] {
  1187.   list-style-image: url("chrome://browser/skin/icons/find-wrap.png");
  1188. }
  1189.  
  1190. #find-field-container { 
  1191.     -moz-appearance: none;
  1192.     border: 2px solid;
  1193.   -moz-border-top-colors: #A6B7A9 #DBE8DD;
  1194.   -moz-border-right-colors: #DBE8DD #A6B7A9;
  1195.   -moz-border-bottom-colors: #DBE8DD #A6B7A9;
  1196.   -moz-border-left-colors: #A6B7A9 #DBE8DD;
  1197.   -moz-border-radius: 2px;
  1198. }
  1199.